© 2013 Torsten Manz mail_logo.gif 20x14

Mnemonic Converter

Description

On the internet HP-15C programs are often shown in mnemonic format, which the simulator can not read. The converter below accepts various mnemonic formats and converts them into valid HP-15C key sequences. The resulting program can be copied to a file and then opened by the simulator. This saves the manual typing of the program.

Here are some examples of mnemonics understood by the converter:

Mnemonics Key Codes Description
GoTo .9
Goto ,9
GTO 19
{    22 48  9 } GTO .9
Upper and lower case letters can be mixed.
You can use a comma or a period to address labels (and registers) above 9.
You can use short and long names.
123.456,789
123,456.789
{           1 } 1
{ 2 } 2
{ 3 } 3
{ 4 } 4 { 5 } 5
{ 6 } 6
{ 48 } .
{ 7 } 7
{ 8 } 8
{ 9 } 9
Numbers are converted into a sequence of digits.
The right most comma or point is interpreted as the decimal point.
ISG 8 STO ENTER STO RAN#
{    42  6  8 } f ISG 8
{ 44 36 } STO RAN#
{ 44 36 } STO RAN#
Uncheck 'One mnemonic per line' to allow multiple mnemonics per line.
g TEST 45
Error in line 007:
TEST 45
     ^
The 2nd argument is wrong.
45 is not a parameter of TEST. Valid parameters are:
0 (x!=0?), 1 (x>0?), 2 (x<0?), 3 (x>=0?), 4 (x<=0?),
5 (x=y?), 6 (x!=y?), 7 (x>y?), 8 (x=y?).
If an mnemonic can not be converted, an error is shown.

The Converter

How to use the converter:
  1. Paste a program in mnemonic format to the "Mnemonics" text area below.
  2. Press "Convert" and the "Key Codes" area shows the resulting program code.
  3. If necessary, correct incorrect or incomplete lines.
  4. Copy the "Key Codes" into a text editor and save them in a file with the extension ".15c".
  5. Start the simulator and open the program file.

Mnemonics Key Codes
The Mnemonic Converter was developed by Nina Scholz.